<template>
  <div class="flex items-center justify-center h-screen bg-gray-100">
    <el-result
        icon="error"
        title="错误提示"
        sub-title="抱歉，未查找到您要请求的页面。"
      >
        <template #extra>
          <el-button type="primary" @click="goBack">返回首页</el-button>
        </template>
    </el-result>
  </div>
</template>

<script setup>
import { useRouter } from 'vue-router';
const router = useRouter();
function goBack() {
    router.push('/index')
}
</script>

<style scoped>

</style>
